<?php
/**
 * Created by PhpStorm.
 * User: dy
 * Date: 2019/12/19
 * Time: 16:52
 */
namespace app\common\validate;
use think\Validate;

class BaseValidate extends Validate
{
    protected static $validate = null;
    public static function instance(){
        if(empty(self::$validate)){
            self::$validate = new static();
        }
        return self::$validate;
    }
}